Page 106 - 2629_Devagiri_C-4
P. 106

2     Click on the
                     Costume tab.                                                            4     Select the font style
                                                                                            from the drop-down list.






                    3     Click on the
                         Text tool.                                                      5     Click on the sprite
                                                                                        where you want to add text.












                  USING MULTIPLE COSTUMES FOR SPRITE ANIMATION

                  A costume is a different look for your sprite in Scratch. Changing costumes quickly
                  can make your sprite look like it’s moving or running.

                  Let’s create a script using different costumes. First, add the Ballerina sprite and the
                  Spotlight backdrop to your project. Now, create the following script for the sprite:




                        when   clicked
                        forever

                          start sound  music
                          switch costume to  ballerina-a

                          wait  1  seconds
                          switch costume to  ballerina-b

                          wait  1  seconds
                          switch costume to  ballerina-c

                          wait  1  seconds

                          switch costume to  ballerina-d
                          wait  1  seconds


                  Click on the Green flag to run the project. You will see that the script will make the

                  Ballerina sprite perform a graceful dance under the spotlight.

                  You can also see the working of the script by scanning the QR code.






                 104      Premium Edition-IV
   101   102   103   104   105   106   107   108   109   110   111